import {Entity, Column, PrimaryColumn} from 'typeorm';

@Entity()
export class Category {
  @PrimaryColumn()
  _id: string;

  @Column({ length: 500 })
  name: string;

  @Column({ length: 500 })
  order: number;
}
